home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 24
/
Amiga Format AFCD24 (Feb 1998, Issue 108).iso
/
-in_the_mag-
/
emulation
/
-otherstuff-
/
xfs208_beta
/
mount.xfsd
< prev
next >
Wrap
Text File
|
1998-01-20
|
5KB
|
171 lines
/*
Mount list for x file system disk handler
Arrangement:
L: xfsd
DEVS: mount.xfsd
fd.device
then use:
Mount FD0: from DEVS:mount.xfsd
somewhere in your startup-sequence or user-startup
Alternative arrangement for WB3:
L: xfsd
DEVS:DOSDrivers/ FD0
FD0.info
FD1 (if you've got)
FD1.info ( two drives:-)
then this standard line from your startup-sequence
will mount the drive(s) for you:
C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)
Note in both cases you must mount the drive(s) before the
line in your startup (C:LoadWB) that loads the Workbench if
you wish to be able to format disks by selecting icons.
** SOMETHING HAS CHANGED **
Now Flags = 0 stops the volume being mounted by name.
This prevents the WorkBench recognising the disk but still
allows you to access it using the device name (ie FD0:).
There is no longer a separate handler called xfsd-ami.
To get the volume to be mounted (and the Workbench icon
to appear) the bits in the top byte represent each different
section of the handler.
8 4 2 1 - 8 4 2 1
| | | | | | | |
ql ----------+ | | | | | | |
spectrum ------+ | | | | | |
msdos -----------+ | | | | |
archimedes --------+ | | | |
amiga -----------------+ | | |
minix -------------------+ | |
mac -----------------------+ |
cpm -------------------------+
So if you wanted the handler to only mount MSDOS or MAC
volumes you would use Flags = 0x22000000
REMEMBER, even if the volume isn't mounted, the disk is
still accessible via the device (eg FD0:).
ALSO to disable a filesystem completely, the same bits in
the next byte can be set, so to disable the amiga file
handler section of xfs use Flags = 0x00080000
ALSO only the top word of the flags is used by the handler,
this being masked off before the flags are sent to the low
level device, so you can put any values you like in the lower
word, whatever is required for the .device you are using.
This means you can use the xfsd handler with mfm.device, or
with catweazel if you like.
*/
FD0:
FileSystem = L:xfsd
/*
* flag settings:
* mount ql volumes only, disable amiga disk recognition
*/
Device = fd.device ; Unit = 0 ; Flags = 0x80080000
/**/
LowCyl = 0 ; HighCyl = 79
Surfaces = 2 ; BlocksPerTrack = 11
Reserved = 0 ; Interleave = 0
Buffers = 20 ; BufMemType = 1
Priority = 9 ; Stacksize = 16000
Globvec = -1 ; Mount = 1
DosType = 0x444F5300 /* 'DOS\0' */
#
FD1:
FileSystem = L:xfsd
/*
* flag settings:
* just disable amiga disk recognition
*/
Device = fd.device ; Unit = 1 ; Flags = 0x00080000
LowCyl = 0 ; HighCyl = 79
Surfaces = 2 ; BlocksPerTrack = 11
Reserved = 0 ; Interleave = 0
Buffers = 20 ; BufMemType = 1
Priority = 9 ; Stacksize = 16000
Globvec = -1 ; Mount = 1
DosType = 0x444F5300 /* 'DOS\0' */
#
FD2:
FileSystem = L:xfsd
Device = fd.device ; Unit = 2 ; Flags = 0
LowCyl = 0 ; HighCyl = 79
Surfaces = 2 ; BlocksPerTrack = 11
Reserved = 0 ; Interleave = 0
Buffers = 20 ; BufMemType = 1
Priority = 9 ; Stacksize = 16000
Globvec = -1 ; Mount = 1
DosType = 0x444F5300 /* 'DOS\0' */
#
FD3:
FileSystem = L:xfsd
Device = fd.device ; Unit = 3 ; Flags = 0
LowCyl = 0 ; HighCyl = 79
Surfaces = 2 ; BlocksPerTrack = 11
Reserved = 0 ; Interleave = 0
Buffers = 20 ; BufMemType = 1
Priority = 9 ; Stacksize = 16000
Globvec = -1 ; Mount = 1
DosType = 0x444F5300 /* 'DOS\0' */
#
FILE0:
FileSystem = L:xfsd
Device = file.device ; Unit = 0 ; Flags = 0
LowCyl = 0 ; HighCyl = 79
Surfaces = 2 ; BlocksPerTrack = 11
Reserved = 0 ; Interleave = 0
Buffers = 20 ; BufMemType = 1
Priority = 9 ; Stacksize = 16000
Globvec = -1 ; Mount = 1
DosType = 0x444F5300 /* 'DOS\0' */
#
FILE1:
FileSystem = L:xfsd
Device = file.device ; Unit = 1 ; Flags = 0
LowCyl = 0 ; HighCyl = 79
Surfaces = 2 ; BlocksPerTrack = 11
Reserved = 0 ; Interleave = 0
Buffers = 20 ; BufMemType = 1
Priority = 9 ; Stacksize = 16000
Globvec = -1 ; Mount = 1
DosType = 0x444F5300 /* 'DOS\0' */
#
FILE2:
FileSystem = L:xfsd
Device = file.device ; Unit = 2 ; Flags = 0
LowCyl = 0 ; HighCyl = 79
Surfaces = 2 ; BlocksPerTrack = 11
Reserved = 0 ; Interleave = 0
Buffers = 20 ; BufMemType = 1
Priority = 9 ; Stacksize = 16000
Globvec = -1 ; Mount = 1
DosType = 0x444F5300 /* 'DOS\0' */
#
FILE3:
FileSystem = L:xfsd
Device = file.device ; Unit = 3 ; Flags = 0
LowCyl = 0 ; HighCyl = 79
Surfaces = 2 ; BlocksPerTrack = 11
Reserved = 0 ; Interleave = 0
Buffers = 20 ; BufMemType = 1
Priority = 9 ; Stacksize = 16000
Globvec = -1 ; Mount = 1
DosType = 0x444F5300 /* 'DOS\0' */
#